home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / March 96 / Re ODFacet parameter in Rend.1 < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  812 b   |  [TEXT/ttxt]

  1. Subject:     Re: ODFacet parameter in RenderShape
  2. Sent:        3/11/96 9:23 AM
  3. Received:    3/11/96 9:31 AM
  4. From:        lamiraux@apple.com
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >I've noticed that there is an ODFacet parameter in the RenderShape() method
  9. >of CRectShap and other shapes in ODFDraw which isn't used. I noticed that
  10. >none of the FW_CShape methods need it for their Render() methods, which the
  11. >RenderShape() methods call.
  12. >
  13. >I got confused trying to render a rectangle to a bitmap which doesn't have
  14. >a facet and worried about sending in a NULL, until I discovered this
  15. >tidbit.
  16. >
  17. >Perhaps you might want to consider dropping the parameter.
  18. >
  19. >Arni McKinley
  20.  
  21.  
  22. The facet parameter is used by CProxyShape::RenderShape.
  23.